package com.njthird.busi.mapper;

import java.util.List;
import com.njthird.busi.domain.BusiCusorders;

/**
 * 客户订单Mapper接口
 * 
 * @author njthird
 * @date 2020-08-19
 */
public interface BusiCusordersMapper 
{
    /**
     * 查询客户订单
     * 
     * @param id 客户订单ID
     * @return 客户订单
     */
    public BusiCusorders selectBusiCusordersById(Long id);

    /**
     * 查询客户订单列表
     * 
     * @param busiCusorders 客户订单
     * @return 客户订单集合
     */
    public List<BusiCusorders> selectBusiCusordersList(BusiCusorders busiCusorders);

    /**
     * 新增客户订单
     * 
     * @param busiCusorders 客户订单
     * @return 结果
     */
    public int insertBusiCusorders(BusiCusorders busiCusorders);

    /**
     * 修改客户订单
     * 
     * @param busiCusorders 客户订单
     * @return 结果
     */
    public int updateBusiCusorders(BusiCusorders busiCusorders);

    /**
     * 删除客户订单
     * 
     * @param id 客户订单ID
     * @return 结果
     */
    public int deleteBusiCusordersById(Long id);

    /**
     * 批量删除客户订单
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteBusiCusordersByIds(Long[] ids);
}
